package com.nmgsr.beans.responsedao;

import java.util.Date;

public class PtmsToolRes {
    private Long id;
    private String toolNo;
    private String toolName;
    private Long toolType;
    private String toolUnit;
    private String voltGrade;
    private Long toolCabinet;
    private Long supplier;
    private Date mdate;
    private String testDate;
    private Integer period;
    private String epc;
    private String scrapDate;
    private Integer useCount;
    private String toolStatus;
    private Boolean isDelete;
    private Object tenantId; // 可能为 null，使用 Object 适配
    private Integer orgId;
    private String createTime;
    private String updateTime;
    private Long createUserId;
    private String createUserName;
    private Long updateUserId;
    private String updateUserName;
    private String toolTypeName;
    private String toolCabinetName;
    private String supplierName;

    // Getters and Setters

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getToolNo() {
        return toolNo;
    }

    public void setToolNo(String toolNo) {
        this.toolNo = toolNo;
    }

    public String getToolName() {
        return toolName;
    }

    public void setToolName(String toolName) {
        this.toolName = toolName;
    }

    public Long getToolType() {
        return toolType;
    }

    public void setToolType(Long toolType) {
        this.toolType = toolType;
    }

    public String getToolUnit() {
        return toolUnit;
    }

    public void setToolUnit(String toolUnit) {
        this.toolUnit = toolUnit;
    }

    public String getVoltGrade() {
        return voltGrade;
    }

    public void setVoltGrade(String voltGrade) {
        this.voltGrade = voltGrade;
    }

    public Long getToolCabinet() {
        return toolCabinet;
    }

    public void setToolCabinet(Long toolCabinet) {
        this.toolCabinet = toolCabinet;
    }

    public Long getSupplier() {
        return supplier;
    }

    public void setSupplier(Long supplier) {
        this.supplier = supplier;
    }

    public Date getMdate() {
        return mdate;
    }

    public void setMdate(Date mdate) {
        this.mdate = mdate;
    }

    public String getTestDate() {
        return testDate;
    }

    public void setTestDate(String testDate) {
        this.testDate = testDate;
    }

    public Integer getPeriod() {
        return period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }

    public String getEpc() {
        return epc;
    }

    public void setEpc(String epc) {
        this.epc = epc;
    }

    public String getScrapDate() {
        return scrapDate;
    }

    public void setScrapDate(String scrapDate) {
        this.scrapDate = scrapDate;
    }

    public Integer getUseCount() {
        return useCount;
    }

    public void setUseCount(Integer useCount) {
        this.useCount = useCount;
    }

    public String getToolStatus() {
        return toolStatus;
    }

    public void setToolStatus(String toolStatus) {
        this.toolStatus = toolStatus;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Object getTenantId() {
        return tenantId;
    }

    public void setTenantId(Object tenantId) {
        this.tenantId = tenantId;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public String getToolTypeName() {
        return toolTypeName;
    }

    public void setToolTypeName(String toolTypeName) {
        this.toolTypeName = toolTypeName;
    }

    public String getToolCabinetName() {
        return toolCabinetName;
    }

    public void setToolCabinetName(String toolCabinetName) {
        this.toolCabinetName = toolCabinetName;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    @Override
    public String toString() {
        return "PtmsToolRes{" +
                "id=" + id +
                ", toolNo='" + toolNo + '\'' +
                ", toolName='" + toolName + '\'' +
                ", toolType=" + toolType +
                ", toolUnit='" + toolUnit + '\'' +
                ", voltGrade='" + voltGrade + '\'' +
                ", toolCabinet=" + toolCabinet +
                ", supplier=" + supplier +
                ", mdate=" + mdate +
                ", testDate=" + testDate +
                ", period=" + period +
                ", epc='" + epc + '\'' +
                ", scrapDate=" + scrapDate +
                ", useCount=" + useCount +
                ", toolStatus='" + toolStatus + '\'' +
                ", isDelete=" + isDelete +
                ", tenantId=" + tenantId +
                ", orgId=" + orgId +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", createUserId=" + createUserId +
                ", createUserName='" + createUserName + '\'' +
                ", updateUserId=" + updateUserId +
                ", updateUserName='" + updateUserName + '\'' +
                ", toolTypeName='" + toolTypeName + '\'' +
                ", toolCabinetName='" + toolCabinetName + '\'' +
                ", supplierName='" + supplierName + '\'' +
                '}';
    }
}
